<?php
session_start();	//开始SESSION
include_once ("mysql.class.php"); //mysql类
include_once ("config.php"); //配置参数
include_once ("page.class.php"); //后台专用分页类
include_once ("action.class.php"); //数据库操作类

$db = new action($mydbhost, $mydbuser, $mydbpw, $mydbname, ALL_PS, $mydbcharset); //数据库操作类.

mysql_query("set names GBK");

$username = $_SESSION[username];
$shell = $_SESSION[shell];
?>